Optimize the case where a component is entirely transparent by skipping
authorOwen Taylor <otaylor@redhat.com>
Mon, 28 Jan 2002 05:34:17 +0000 (05:34 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 28 Jan 2002 05:34:17 +0000 (05:34 +0000)
commit6090d199a5ccf44c2777b66e13254754c8486e0c
tree3a43cedd0b1b1da95b767621ed95aa738f9b0682
parent624b01a92e5d435e67bc2ed29ce09a103925d1ee
Optimize the case where a component is entirely transparent by skipping

Sun Jan 27 23:58:13 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-render.c (compute_hint): Optimize the case
        where a component is entirely transparent by skipping
        drawing it.

        * pixbuf-rc-style.c (theme_parse_image): Catch case
        where background or overlay border/stretch are specified
        without a background image.

        * pixbuf-render.c (theme_pixbuf_destroy): Actually free
        the structure and filename.
modules/engines/pixbuf/ChangeLog
modules/engines/pixbuf/Makefile.am
modules/engines/pixbuf/pixbuf-draw.c
modules/engines/pixbuf/pixbuf-rc-style.c
modules/engines/pixbuf/pixbuf-render.c
modules/engines/pixbuf/pixbuf.h